package com.dnb.webmash.playmaker.shared.mediatypes;

import java.util.ArrayList;
import java.util.Arrays;

import com.dnb.webmash.playmaker.shared.MediaType;
import com.dnb.webmash.playmaker.shared.PlayerType;

//TODO TEST THIS
public final class EightTracks extends MediaType {

	static final String testPat = "8tracks.com";
	static final ArrayList<String> mediaIDpats = new ArrayList<String>(Arrays.asList("8tracks\\.com/([^/\"\'& ]+)"));
	static final String sourceURL = "http://8tracks.com/";
	static final String name = "8tracks";
	static final PlayerType type = PlayerType.FLASH;
	
	@Override
	public PlayerType getPlayerType() {return type;}
	@Override
	public String getTestPat() { return testPat;}

	@Override
	public ArrayList<String> getMediaIDPats() {return mediaIDpats;}

	@Override
	public String getSourceURL() {return sourceURL;}
	
	@Override
	public String getName() {return name;}

}
